package org.event.core.event;

import lombok.Getter;
import org.event.core.entity.PaymentInfo;
import org.springframework.context.ApplicationEvent;

/**
 * @author zhangjm
 * @date 2023年11月29日 15:54
 */
@Getter
public class TestEvent extends ApplicationEvent {


    private String prop1;
    private String prop2;
    private String prop3;

    public TestEvent(PaymentInfo source, String prop1, String prop2, String prop3) {
        super(source);
        this.prop1 = prop1;
        this.prop2 = prop2;
        this.prop3 = prop3;

    }

    public TestEvent(PaymentInfo paymentInfo) {
        super(paymentInfo);
    }
}
